The SendCopyTo rule grabs the recipient copy names from the FSISYS.INI file and lets the recipient copy name print on a form. When printing using printer resident FRM files, the recipient copy name doesn't appear at the bottom of the printed output. All other variable data appears fine, except for the recipient copy name.
The SendCopyTo rule works as FORM PAGE NUM/FORMSET PAGE NUM. If the DownloadFAP option is turned off in the INI file, use the Mk_Hard rule. Otherwise, no rules are required.
A SendCopyTo field prints the name of the current recipient.For this to work, however, the field must exist at the time it is printed. There are several ways in which a field can exist at print time:
The field is contained in the NAFILE.DAT file. Blank fields do not unload in the NAFILE.DAT file. Fields in the NAFILE.DAT file are created if necessary during the print process.
The field is in the FAP file. For performance reasons, it’s usually better if FAP files are not loaded during the print process. (You can use the DownloadFAP option to automatically load all FAP files, but this slows performance.)
The preferred method is to get the variable field from the NAFILE.DAT file. Since blank fields do not unload in the NAFILE.DAT file, you must have some way to make sure a SendCopyTo field unloads in the NAFILE.DAT file. Some value must exist in the field to make it unload.
The best and easiest way to do this is to use the Mk_Hard rule to force a value, any value, into SendCopyTo fields so they unload into the NAFILE.DAT file. The correct value is then assigned to the field during the print process.
For more information, see the Rules Reference.
© Copyright 2016, Oracle and/or its affiliates. All rights reserved. Legal notices.